package com.biqee.service.juhuasuan;

import java.io.InputStream;
import java.util.List;

import com.biqee.model.JuHuaSuanItemOfPage;

public interface ItemListParser {
	public List<JuHuaSuanItemOfPage> parseAllItems(String filePath, String charsetName);
	public int getMaxPageNumber(String filePath, String charsetName);
	
	public List<JuHuaSuanItemOfPage> parseAllItems(String htmlString);	
	public int getMaxPageNumber(String htmlString);
	
	public List<JuHuaSuanItemOfPage> parseAllItems(InputStream inputStream, String charsetName, String baseUrl);
	public int getMaxPageNumber(InputStream inputStream, String charsetName, String baseUrl);
}
